
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>很抱歉，框架运行时出错！</title>

<style type="text/css">
body {margin: 0px; padding:0px; font-family:"微软雅黑", Arial, "Trebuchet MS", Verdana, Georgia,Baskerville,Palatino,Times; font-size:16px;}
div{margin-left:auto; margin-right:auto;}
a {text-decoration: none; color: #1064A0;}
a:hover {color: #0078D2;}
img { border:none; }
h1,h2,h3,h4 {
/*	display:block;*/
	margin:0;
	font-weight:normal; 
	font-family: "微软雅黑", Arial, "Trebuchet MS", Helvetica, Verdana ; 
}
h1{font-size:44px; color:#0188DE; padding:20px 0px 10px 0px;}
h2{color:#0188DE; font-size:16px; padding:10px 0px 40px 0px;}

#page{width:910px; padding:20px 20px 40px 20px; margin-top:80px;}
.button{width:200px; height:28px; margin-left:0px; margin-top:10px; background:#009CFF; border-bottom:4px solid #0188DE; text-align:center;}
.button a{width:200px; height:28px; display:block; font-size:14px; color:#fff; }
.button a:hover{ background:#5BBFFF;}
</style>

</head>
<body>
<!-- <div id="page" style="border-style:dashed;border-color:#e4e4e4;line-height:30px;">
	<h1>抱歉，找不到此页面~</h1>
	<h2>Sorry, the site now can not be accessed. </h2>
	<font color="#666666">你请求访问的页面，暂时找不到，我们建议你返回首页官网进行浏览，谢谢！</font><br /><br />
	<div class="button">
		<a href="#" title="YanPHP" target="_blank">YanPHP - 轻量级的PHP框架</a>
	</div>
</div> -->
<div id="page" style="border-style:dashed;border-color:#e4e4e4;line-height:30px;">
	<h1>出错了~</h1>
	<h2>Sorry,something was wrong!</h2>
	<font color="#666666" style="font-size:2em"><?php echo strip_tags($e['message']);?></font><br /><br />
	
	<div class="content">
	<?php if(isset($e['file'])) {?>
		<div class="info">
			<div class="title">
				<h3>错误位置</h3>
			</div>
			<div class="text">
				<p>FILE: <?php echo $e['file'] ;?> &#12288;LINE: <?php echo $e['line'];?></p>
			</div>
		</div>
	<?php }?>
	<?php if(isset($e['trace'])) {?>
		<div class="info">
			<div class="title">
				<h3>TRACE</h3>
			</div>
			<div class="text">
				<p><?php echo nl2br($e['trace']);?></p>
			</div>
		</div>
	<?php }?>
	</div>
	<div class="button">
		<a href="#" title="YanPHP" target="_blank">YanPHP - 轻量级的PHP框架</a>
	</div>
</div>
</body>
</html>
